package edu.zut.cs.software.perfect.process.service;

import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.base.service.GenericManager;
import edu.zut.cs.software.perfect.course.domain.CourseInformation;
import edu.zut.cs.software.perfect.process.domain.CourseProcess;

/**
 * @ClassName courseProcessManager
 * @Description TODO
 * @Author niu-xi
 * @Date 2020年4月7日
 * @Version 1.0
 */
public interface CourseProcessManager extends GenericManager<Long, CourseProcess> {
                /**
	 * first methon in CourseProcessManager
	 * @param courseProcess
	 * @return CourseProcess
	 */
	//CourseProcess echo(CourseProcess courseProcess);
	List<CourseProcess> findAll();
	
	Optional<CourseProcess> findByCourseId(Long courseId);
	
	Boolean deleteById(Long courseId);
}
